projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b972d1a
)
xen: another unsigned comparison < 0
author
Tim Deegan
<Tim.Deegan@citrix.com>
Thu, 7 Apr 2011 14:06:06 +0000
(15:06 +0100)
committer
Tim Deegan
<Tim.Deegan@citrix.com>
Thu, 7 Apr 2011 14:06:06 +0000
(15:06 +0100)
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/common/unxz.c
patch
|
blob
|
history
diff --git
a/xen/common/unxz.c
b/xen/common/unxz.c
index 97d8febf48147c989bd3487bdedc43468255b4a8..132168f9240553c942131b93f220d938fdc547b1 100644
(file)
--- a/
xen/common/unxz.c
+++ b/
xen/common/unxz.c
@@
-216,7
+216,7
@@
STATIC int INIT unxz(unsigned char *in, unsigned int in_size,
b.in_pos = 0;
in_size = fill(in, XZ_IOBUF_SIZE);
- if (in_size < 0) {
+ if (
(int)
in_size < 0) {
/*
* This isn't an optimal error code
* but it probably isn't worth making